package com.lou.springboot.dao;

import com.lou.springboot.entity.BlogTagRelation;
import com.lou.springboot.entity.Tag;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by Guaguaerhao on 2020/7/12 11:50
 */
@Mapper
public interface BlogTagRelationDao {
    List<Long> selectDistinctTagIds(Integer[] tagIds);
    int batchInsert(List<BlogTagRelation> relations);
    int deleteBatchByBlogId(Long blogId);
}
